<template>
    <van-tabbar v-model="active" v-if="barstatus">
        <van-tabbar-item icon="home-o" to="/product/list">首页</van-tabbar-item>
        <van-tabbar-item icon="gold-coin-o" to="/gamechoose">福利</van-tabbar-item>
    </van-tabbar>
</template>

<script setup lang="ts">
import { ref } from 'vue';
let active = ref('')
let barstatus = ref(true);
</script>